Time window events with Apache Spark Streaming
- π
- π 662 words
- π 3 minutes
- π¦ Development
- π·οΈ Apache Spark, Scala
- π¬ 1 response
If youβre working with Spark Streaming, you might run into an interesting problem if you want to output an event based on multiple messages within a specific time period.
For example, I want to send a security alert if I see 10 DDOS attempts to an IP address in a five-minute window.